function composition python

28

def compose2(f, g):
    return lambda x: f(g(x))

Comments

Submit
0 Comments